| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://bugs.webkit.org/show_bug.cgi?id=93840
Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-08-15
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
Set the default font when no parent style is set. It will make
possible to apply relative units when a parent is not set.
No new tests, unskipped the existing ones.
* css/StyleBuilder.cpp:
(WebCore::ApplyPropertyFontSize::applyValue):
Make it possible to apply relative units if a parent style exist but
not a parent node. It works like this for em and ex, but not for
percent units.
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore):
(WebCore::CanvasRenderingContext2D::setFont):
LayoutTests:
Unskipped tests that will now pass, removed wrong expectations
and updated test case which was fixed by the W3C.
* canvas/philip/tests/2d.text.font.parse.size.percentage.default.html:
This test case was fixed on W3C upstream:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18522
* fast/canvas/canvas-font-ex-units-crash-expected.txt:
* fast/canvas/script-tests/canvas-font-ex-units-crash.js:
* platform/chromium/TestExpectations:
* platform/chromium/canvas/philip/tests/2d.text.font.parse.size.percentage-expected.txt: Removed.
* platform/chromium/canvas/philip/tests/2d.text.font.parse.size.percentage.default-expected.txt: Removed.
* platform/efl/Skipped:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/mac/canvas/philip/tests/2d.text.font.parse.size.percentage-expected.txt: Removed.
* platform/mac/canvas/philip/tests/2d.text.font.parse.size.percentage.default-expected.txt: Removed.
* platform/qt/Skipped:
git-svn-id: svn://svn.chromium.org/blink/trunk@125663 bbb929c8-8fbe-4397-9dbb-9b2b20218538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://bugs.webkit.org/show_bug.cgi?id=50859
Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-08-13
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
Added proper serialization for the font property.
No new tests, unskipped the existing ones.
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::font):
LayoutTests:
Unskip tests that will now pass and remove wrong/duplicated
expectations. canvas-font-ex-units-crash has now the wrong
expectations until we fix the issue on 93840.
* fast/canvas/canvas-font-ex-units-crash-expected.txt:
* fast/canvas/script-tests/canvas-font-ex-units-crash.js:
Even though we are setting a value on this test case (and verifying),
the font is not being effectiviely set as the serialization reveled. This
is going to be fixed in another bug.
* platform/chromium/TestExpectations:
* platform/chromium/canvas/philip/tests/2d.text.font.parse.system-expected.txt: Removed.
* platform/efl/Skipped:
* platform/gtk/TestExpectations:
* platform/mac/canvas/philip/tests/2d.text.font.parse.system-expected.txt: Removed.
* platform/qt/Skipped:
git-svn-id: svn://svn.chromium.org/blink/trunk@125450 bbb929c8-8fbe-4397-9dbb-9b2b20218538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://bugs.webkit.org/show_bug.cgi?id=70784
Reviewed by Ojan Vafai.
Tools:
* Scripts/make-new-script-test:
(writeTestFile): Update the template for script tests.
LayoutTests:
This makes "successfullyParsed = true" optional in favor of tracking syntax errors
using window.onerror.
* fast/*: Remove successfullyParsed.
* fast/dom/Window/new-window-opener.html: Cleanup.
* fast/dom/Window/resources/window-appendages-cleared-results.html:
* fast/dom/Window/webkitConvertPoint.html: Ditto.
* fast/dom/Window/webkitConvertPointUpdateLayout.html: Ditto.
* fast/js/kde/evil-n.html: This is now a normal test since it is not supposed to fail.
* fast/js/kde/garbage-n-expected.txt:
* fast/js/kde/garbage-n.html: Use shouldHaveHadError instead of js-test-post-n.js
* fast/js/kde/string-1-n.html: Ditto.
* fast/js/kde/string-2-n.html: Ditto.
* fast/js/resources/js-test-post-async.js: Ensure we didn't get an error.
* fast/js/resources/js-test-post-function.js: Ditto.
* fast/js/resources/js-test-post-n.js: Removed.
* fast/js/resources/js-test-pre.js: Added shouldHaveHadError function that can be used to assert that the
error message is what was expected.
Ensure we didn't get an error in finistJSTest.
git-svn-id: svn://svn.chromium.org/blink/trunk@98407 bbb929c8-8fbe-4397-9dbb-9b2b20218538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reviewed by Kenneth Rohde Christiansen.
Canvas: Crash when setting a font with size in 'ex' units
https://bugs.webkit.org/show_bug.cgi?id=46538
update() the style's font after setting the style's font description.
Needed because CSSPrimitiveValue::computeLengthDouble() later assumes
that the style's font is properly initialized (for xHeight().)
Fixes crash on IE test center's canvas-text-font-002 test.
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::setFont):
2010-09-28 Andreas Kling <andreas.kling@nokia.com>
Reviewed by Kenneth Rohde Christiansen.
Canvas: Crash when setting a font with size in 'ex' units
https://bugs.webkit.org/show_bug.cgi?id=46538
* fast/canvas/canvas-font-ex-units-crash-expected.txt: Added.
* fast/canvas/canvas-font-ex-units-crash.html: Added.
* fast/canvas/script-tests/canvas-font-ex-units-crash.js: Added.
git-svn-id: svn://svn.chromium.org/blink/trunk@68513 bbb929c8-8fbe-4397-9dbb-9b2b20218538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unreviewed, rolling out r68343.
http://trac.webkit.org/changeset/68343
https://bugs.webkit.org/show_bug.cgi?id=46581
broke GTK+ (Requested by kling on #webkit).
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::setFont):
2010-09-26 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r68343.
http://trac.webkit.org/changeset/68343
https://bugs.webkit.org/show_bug.cgi?id=46581
broke GTK+ (Requested by kling on #webkit).
* fast/canvas/canvas-font-ex-units-crash-expected.txt: Removed.
* fast/canvas/canvas-font-ex-units-crash.html: Removed.
* fast/canvas/script-tests/canvas-font-ex-units-crash.js: Removed.
git-svn-id: svn://svn.chromium.org/blink/trunk@68346 bbb929c8-8fbe-4397-9dbb-9b2b20218538
|
|
Reviewed by Dan Bernstein.
Canvas: Crash when setting a font with size in 'ex' units
https://bugs.webkit.org/show_bug.cgi?id=46538
update() the style's font after setting the style's font description.
Needed because CSSPrimitiveValue::computeLengthDouble() later assumes
that the style's font is properly initialized (for xHeight().)
Fixes crash on IE test center's canvas-text-font-002 test.
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::setFont):
2010-09-26 Andreas Kling <andreas.kling@nokia.com>
Reviewed by Dan Bernstein.
Canvas: Crash when setting a font with size in 'ex' units
https://bugs.webkit.org/show_bug.cgi?id=46538
* fast/canvas/canvas-font-ex-units-crash-expected.txt: Added.
* fast/canvas/canvas-font-ex-units-crash.html: Added.
* fast/canvas/script-tests/canvas-font-ex-units-crash.js: Added.
git-svn-id: svn://svn.chromium.org/blink/trunk@68343 bbb929c8-8fbe-4397-9dbb-9b2b20218538
|