Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: LayoutTests/fast/css/namespaces/empty-namespace-compound-selector-2.xhtml

Issue 1305973007: Clean up empty namespace handling and fix empty namespaces in compound selectors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@defaultns
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <style>
3 *|Y {
4 display: block;
5 width: 100px;
6 height: 100px;
7 background-color: green;
8 }
9
10 |Y#div {
11 background-color: red;
12 }
13 </style>
14 <Y id="div"></Y>
15
16 <script src="../../../resources/testharness.js"></script>
17 <script src="../../../resources/testharnessreport.js"></script>
18
19 <script>
20 test(function(){
21 assert_equals(getComputedStyle(document.getElementById('div')).backgroundCol or, 'rgb(0, 128, 0)');
22 }, "Empty namespaces should work correctly on compound selectors");
23 </script>
24
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698