Opened 17 years ago

Closed 17 years ago

#977 closed Bug (fixed)

XHTML validation fails for imagemap shapes (rect, default, circle, poly) - should be lowercase

Reported by: classaxe Owned by: Alfonso Martínez de Lizarrondo
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: UI : Source View Version: FCKeditor 2.4.3
Keywords: Confirmed IE Cc: martin@…

Description

Hi there,

According to XHTML standard (see http://www.w3.org/TR/xhtml2/mod-csImgMap.html), shape attributes in image maps are supposed to be lower-case (shape = "default|rect|circle|poly") - but every time I switch between WYSIWYG and source view, FCKEditor changes the shape attributes to uppercase, so:

<map id="banner_top">
<area alt="Load Ecclesiact Home Page"
href="http://www.ecclesiact.com" coords="15,26,265,111"
shape="rect" /></map>

becomes:

<map id="banner_top">
<area alt="Load Ecclesiact Home Page"
href="http://www.ecclesiact.com" coords="15,26,265,111"
shape="RECT" /></map>

When I validate the following minimal fragment at http://validator.w3.org/fragment-upload.html it passes, but after FCKEditor has changed the shape from rect to RECT it fails:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd">
<html>
<head><title>test</title></head>
<body>
<p><map id="banner_top">
<area alt="Load Ecclesiact Home Page"
href="http://www.ecclesiact.com" coords="15,26,265,111"
shape="rect" /></map></p>
</body>
</html>

Can this be fixed?

Please let me know if this issue is on your 'to fix' list - Thanks

Martin Francis, Canada <>< (My email name is martin and the domain is classaxe com)

Change History (2)

comment:1 Changed 17 years ago by Alfonso Martínez de Lizarrondo

Keywords: Confirmed IE added; imagemap shape removed
Owner: set to Alfonso Martínez de Lizarrondo

comment:2 Changed 17 years ago by Alfonso Martínez de Lizarrondo

Milestone: FCKeditor 2.5
Resolution: fixed
Status: newclosed

Fixed with [492]

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy