Bug 1420946 - Don't try to share style on quirks mode whenever two elements have different id. r=emilio

MozReview-Commit-ID: FcHXGUoMMbD

--HG--
extra : rebase_source : fe28186785456d9feca068d217d3b87beeb06867
This commit is contained in:
Xidorn Quan 2017-11-29 17:34:37 -06:00
parent c2ddfbdfa5
commit 2e91996237
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,4 @@
<!-- ~*quirks mode*~ -->
<div></div>
<p style="color: green">should be green
<p>should be unstyled

View File

@ -0,0 +1,9 @@
<!-- ~*quirks mode*~ -->
<style>
#lolquirky {
color: green;
}
</style>
<div></div>
<p id="lolQuirky">should be green
<p>should be unstyled

View File

@ -2051,3 +2051,4 @@ needs-focus != 1377447-1.html 1377447-2.html
== 1410028.html 1410028-ref.html
test-pref(font.size.systemFontScale,200) == 1412743.html 1412743-ref.html
== 1419820-1.html 1419820-1-ref.html
== 1420946-1.html 1420946-1-ref.html