Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
[css-ui-3] should there be a note pointing to HTML's definition of cursor applying to image maps? #1618
Comments
dbaron
added
the
css-ui-3
label
Jul 19, 2017
dbaron
referenced this issue
Jul 19, 2017
Closed
[css-ui-3] auto cursor should behaves as default cursor except for text? #1598
frivoal
self-assigned this
Jul 20, 2017
|
Thanks, that seem like a good thing to do. Can we add this to level 3 without disturbing the likely transition of the spec to PR soon, as notes are editorial? If yes, I am happy to do so. If no, I'd rather have it go in level 4. |
frivoal
added
the
Agenda+ F2F
label
Aug 1, 2017
astearns
removed
the
Agenda+ F2F
label
Aug 1, 2017
css-meeting-bot
commented
Aug 3, 2017
|
The CSS Working Group just discussed
The full IRC log of that discussion<eae> Topic: Cursor and image maps<tantek> s/in the PR to CR/in the CR to PR <eae> github: https://github.com/w3c/csswg-drafts/issues/1618 <fantasai> So the resolution was that the event is dispatched as if text-ellipsis was none <eae> Florian: As a note, this is not in our spec, HTML is weird when it comes to image maps. <fantasai> (fantasai asked for clarification on what the resolution meant) <eae> Florian: The cursot that you are supposed to use over an area in an image map depends on the area element and not the image you are hovering. <eae> Florian: The only property that is affected by area is the cursor. <eae> tantek: I agree <eae> Rossen: Other opinions? <tantek> yes, add the informative note <eae> PROPOSED RESOLUTION: Add informative note that links to the part of HTML that specifies how cursor works on image maps. <tantek> q? <eae> Rossen: Any objections? <Rossen> q? <eae> RESOLVED: Add informative note that links to the part of HTML that specifies how cursor works on image maps. |
tomhodgins
commented
Aug 11, 2017
|
So what I noticed about the area element and image maps was that they're all based on pixels for their coordinates. Because of this, it's really tough to scale or resize an image map and still have the coordinates line up - but I found a way to do it! If you have an HTML element with a set width and height (like an image + map combo) and you wrap that in a wrapper element you can use It requires knowledge of the current Here's a blog post about the technique, with a video and code examples: https://codepen.io/tomhodgins/post/how-to-make-any-html-element-scalable And here's the technique implemented 4 different ways: https://codepen.io/tomhodgins/pen/wqBYLb |
frivoal
closed this
in
8493633
Aug 18, 2017
|
@tomhodgins While your observations about image maps are interesting, they don't seem be specific to the |
dbaron commentedJul 19, 2017
It might be a good idea for the definition of
cursorto have an informative note that links to the part of HTML that specifies howcursorworks on image maps.