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

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 *|div {
4 display: block;
5 width: 100px;
6 height: 100px;
7 background-color: green;
8 }
9
10 |div#target {
11 background-color: red;
12 }
13 </style>
14 <div id="target"></div>
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('target')).background Color, 'rgb(0, 128, 0)');
22 }, "Empty namespaces should work correctly on compound selectors");
23 </script>
24
25 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/namespaces/empty-namespace-compound-selector-1.xhtml ('k') | Source/core/css/CSSSelectorList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698