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

Unified Diff: LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles.html

Issue 16194002: Make ScopedStyleResolver use apply-author-styles of a given element's treescope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles.html
diff --git a/LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles.html b/LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles.html
index 6a90f7a89cd616709271db0844620ffc9796195c..e5cc8107e3b513e5e46d92d817186321cb7216c0 100644
--- a/LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles.html
+++ b/LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles.html
@@ -90,7 +90,7 @@ function testEnclosingShadowWithScoped()
function testNestedShadow()
{
- debug('test a style in a shadow subtree is applied to a node in its descendant shadow subtree when all apply-author-styles in shadow subtrees between the shadow subtree and the descendant are true.');
+ debug('test a style in a shadow subtree is applied to a node in its descendant shadow subtree when apply-author-styles in the shadow subtree is true.');
hayato 2013/05/29 11:16:27 I feel 'the shadow tree' is ambiguous in this sent
tasak 2013/05/31 10:06:58 Sure. Probably done.
var div = document.createElement('div');
div.innerHTML = '<style scoped>div { border: 1px solid red }</style><div id="host"></div>';
@@ -115,7 +115,7 @@ function testNestedShadow()
// A style in document should be applied.
dumpComputedStyle(shadow.getElementById("target"));
- outerShadow.applyAuthorStyles = true
+ outerShadow.applyAuthorStyles = true;
// A style in 'outerMost' shadow should be applied.
dumpComputedStyle(shadow.getElementById("target"));

Powered by Google App Engine
This is Rietveld 408576698