Title: [140954] trunk/LayoutTests
Revision
140954
Author
[email protected]
Date
2013-01-28 01:39:00 -0800 (Mon, 28 Jan 2013)

Log Message

Change test expectation to ensure that seamless iframes do not inherit editability.
https://bugs.webkit.org/show_bug.cgi?id=108063

Reviewed by Eric Seidel.

Seamlessly rendered documents should not inherit editability from their
parent IFrame. Currently, the test expectations don't match this
behavior. This patch trivially adjusts the expectation to ensure that
editability is _not_ inherited.

* fast/frames/seamless/seamless-inherited-document-style-expected.txt:
* fast/frames/seamless/seamless-inherited-document-style.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (140953 => 140954)


--- trunk/LayoutTests/ChangeLog	2013-01-28 09:21:57 UTC (rev 140953)
+++ trunk/LayoutTests/ChangeLog	2013-01-28 09:39:00 UTC (rev 140954)
@@ -1,3 +1,18 @@
+2013-01-28  Mike West  <[email protected]>
+
+        Change test expectation to ensure that seamless iframes do not inherit editability.
+        https://bugs.webkit.org/show_bug.cgi?id=108063
+
+        Reviewed by Eric Seidel.
+
+        Seamlessly rendered documents should not inherit editability from their
+        parent IFrame. Currently, the test expectations don't match this
+        behavior. This patch trivially adjusts the expectation to ensure that
+        editability is _not_ inherited.
+
+        * fast/frames/seamless/seamless-inherited-document-style-expected.txt:
+        * fast/frames/seamless/seamless-inherited-document-style.html:
+
 2013-01-25  Yury Semikhatsky  <[email protected]>
 
         Web Inspector: remove unused isElement and similar methods from HeapProfiler

Modified: trunk/LayoutTests/fast/frames/seamless/seamless-inherited-document-style-expected.txt (140953 => 140954)


--- trunk/LayoutTests/fast/frames/seamless/seamless-inherited-document-style-expected.txt	2013-01-28 09:21:57 UTC (rev 140953)
+++ trunk/LayoutTests/fast/frames/seamless/seamless-inherited-document-style-expected.txt	2013-01-28 09:39:00 UTC (rev 140954)
@@ -1,8 +1,9 @@
 Test that seamless iframes inherit styles from their parent iframe instead of using StyleResolver::styleForDocument defaults.
 PASS window.getComputedStyle(rootElement)['-webkit-rtl-ordering'] is "visual"
-FAIL window.getComputedStyle(rootElement)['-webkit-user-modify'] should be read-write. Was read-only.
 PASS window.getComputedStyle(rootElement)['-webkit-locale'] is "en_US"
 PASS window.getComputedStyle(rootElement)['writing-mode'] is "lr"
 PASS window.getComputedStyle(rootElement)['direction'] is "rtl"
 PASS window.getComputedStyle(rootElement)['font'] is "normal normal normal 18px/normal Ahem"
+'-webkit-user-modify', on the other hand, should not be inherited.
+PASS window.getComputedStyle(rootElement)['-webkit-user-modify'] is "read-only"
 

Modified: trunk/LayoutTests/fast/frames/seamless/seamless-inherited-document-style.html (140953 => 140954)


--- trunk/LayoutTests/fast/frames/seamless/seamless-inherited-document-style.html	2013-01-28 09:21:57 UTC (rev 140953)
+++ trunk/LayoutTests/fast/frames/seamless/seamless-inherited-document-style.html	2013-01-28 09:39:00 UTC (rev 140954)
@@ -17,10 +17,12 @@
     window.iframe = document.getElementById("iframe");
     window.rootElement = iframe.contentDocument.documentElement;
     shouldBeEqualToString("window.getComputedStyle(rootElement)['-webkit-rtl-ordering']", "visual");
-    shouldBeEqualToString("window.getComputedStyle(rootElement)['-webkit-user-modify']", "read-write");
     shouldBeEqualToString("window.getComputedStyle(rootElement)['-webkit-locale']", "en_US");
     shouldBeEqualToString("window.getComputedStyle(rootElement)['writing-mode']", "lr");
     shouldBeEqualToString("window.getComputedStyle(rootElement)['direction']", "rtl");
     shouldBeEqualToString("window.getComputedStyle(rootElement)['font']", "normal normal normal 18px/normal Ahem");
+
+    debug("'-webkit-user-modify', on the other hand, should not be inherited.");
+    shouldBeEqualToString("window.getComputedStyle(rootElement)['-webkit-user-modify']", "read-only");
 }
 </script>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to