Commit c8cb8b8a authored by mitz@apple.com's avatar mitz@apple.com

WebCore:

        Reviewed by Sam Weinig.

        - fix https://bugs.webkit.org/show_bug.cgi?id=9694
          resize value not compared

        Test: fast/css/resize-value-compared.html

        * rendering/style/StyleRareInheritedData.cpp:
        (WebCore::StyleRareInheritedData::operator==): Compare the resize
        member.

LayoutTests:

        Reviewed by Sam Weinig.

        - test for https://bugs.webkit.org/show_bug.cgi?id=9694
          resize value not compared

        * fast/css/resize-value-compared-expected.txt: Added.
        * fast/css/resize-value-compared.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44912 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent edf21428
2009-06-21 Dan Bernstein <mitz@apple.com>
Reviewed by Sam Weinig.
- test for https://bugs.webkit.org/show_bug.cgi?id=9694
resize value not compared
* fast/css/resize-value-compared-expected.txt: Added.
* fast/css/resize-value-compared.html: Added.
2009-06-21 Darin Adler <darin@apple.com>
* platform/gtk/Skipped: Skip one more test.
......
Test for https://bugs.webkit.org/show_bug.cgi?id=9694 resize value not compared.
This box should have a working resize corner:
PASS
<p>
Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9694">https://bugs.webkit.org/show_bug.cgi?id=9694</a>
resize value not compared</i>.
</p>
<p>
This box should have a working resize corner:
</p>
<div id="target" style="width: 50px; height: 50px; overflow: hidden; border: solid;"></div>
<pre id="console"></pre>
<script>
function log(message)
{
document.getElementById("console").appendChild(document.createTextNode(message + "\n"));
}
if (window.layoutTestController)
layoutTestController.dumpAsText();
target.style.resize = "both";
var target = document.getElementById("target");
var computedStyle = getComputedStyle(target);
log(computedStyle.resize === "both" ? "PASS" : "FAIL");
</script>
2009-06-21 Dan Bernstein <mitz@apple.com>
Reviewed by Sam Weinig.
- fix https://bugs.webkit.org/show_bug.cgi?id=9694
resize value not compared
Test: fast/css/resize-value-compared.html
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::operator==): Compare the resize
member.
2009-06-19 Alice Liu <alice.liu@apple.com>
Fix https://bugs.webkit.org/show_bug.cgi?id=26568
......
......@@ -80,6 +80,7 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const
&& nbspMode == o.nbspMode
&& khtmlLineBreak == o.khtmlLineBreak
&& textSizeAdjust == o.textSizeAdjust
&& resize == o.resize
&& userSelect == o.userSelect;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment