mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 607267. Don't style imagemaps as block. r=dbaron,tbsaunde
This commit is contained in:
parent
689f87cddc
commit
051c2fee44
@ -22,9 +22,9 @@
|
||||
|
||||
testAccessibleTree("imagemapcontainer", accTree);
|
||||
|
||||
// map group
|
||||
// map group. Imagemaps are inlines by default, so TEXT_CONTAINER.
|
||||
accTree =
|
||||
{ PARAGRAPH: [
|
||||
{ TEXT_CONTAINER: [
|
||||
{ PARAGRAPH: [
|
||||
{ TEXT_LEAF: [ ] },
|
||||
{ LINK: [
|
||||
|
@ -427,8 +427,11 @@
|
||||
<div id="container">
|
||||
<img id="imgmap" width="447" height="15"
|
||||
usemap="#atoz_map"
|
||||
src="../letters.gif">
|
||||
</div>
|
||||
src="../letters.gif"><!--
|
||||
Important: no whitespace between the <img> and the </div>, so we
|
||||
don't end up with textframes there, because those would be reflected
|
||||
in our accessible tree in some cases.
|
||||
--></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
2
layout/reftests/bugs/607267-1-ref.html
Normal file
2
layout/reftests/bugs/607267-1-ref.html
Normal file
@ -0,0 +1,2 @@
|
||||
<!DOCTYPE html>
|
||||
Some text on one line
|
2
layout/reftests/bugs/607267-1.html
Normal file
2
layout/reftests/bugs/607267-1.html
Normal file
@ -0,0 +1,2 @@
|
||||
<!DOCTYPE html>
|
||||
Some text <map></map> on one line
|
@ -1602,6 +1602,7 @@ fails-if(!haveTestPlugin) == 599476.html 599476-ref.html
|
||||
== 604737.html 604737-ref.html
|
||||
== 605138-1.html 605138-1-ref.html
|
||||
== 605157-1.xhtml 605157-1-ref.xhtml
|
||||
== 607267-1.html 607267-1-ref.html
|
||||
== 608756-1a.html 608756-1-ref.html
|
||||
== 608756-1b.html 608756-1-ref.html
|
||||
== 608756-2.html 608756-2-ref.html
|
||||
|
@ -59,7 +59,6 @@ html, html[dir],
|
||||
legend, legend[dir],
|
||||
li, li[dir],
|
||||
listing, listing[dir],
|
||||
map, map[dir],
|
||||
marquee, marquee[dir],
|
||||
menu, menu[dir],
|
||||
nav, nav[dir],
|
||||
@ -105,7 +104,6 @@ form,
|
||||
header,
|
||||
hgroup,
|
||||
html,
|
||||
map,
|
||||
nav,
|
||||
section {
|
||||
display: block;
|
||||
|
@ -193,13 +193,6 @@ dl > dl {
|
||||
}
|
||||
|
||||
|
||||
/* Quirk: MAP acts like an inline, not a block */
|
||||
|
||||
map {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
|
||||
/* Quirk: Make floated images have a margin (b=58899) */
|
||||
|
||||
img[align=left] {
|
||||
|
Loading…
Reference in New Issue
Block a user