Source/WebCore: fast/frames/seamless/seamless-nested-crash.html asserts on wk2 only
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 26 Oct 2013 15:44:26 +0000 (15:44 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 26 Oct 2013 15:44:26 +0000 (15:44 +0000)
commitd6e5c0a33d14c25708b323e72992c8f159f90a07
tree20f836a165a75136bfebfd95f57a102bf2fcfa8e
parent28aa491453ba7c38c63351e55504a7b732fb1cac
Source/WebCore: fast/frames/seamless/seamless-nested-crash.html asserts on wk2 only
https://bugs.webkit.org/show_bug.cgi?id=123354

Reviewed by Andreas Kling.

* rendering/SimpleLineLayout.cpp:
(WebCore::SimpleLineLayout::canUseFor):

    Don't enable simple line layout if the primary font is loading. The code expects
    to use the primary font metrics for all lines but those won't match the fallbacks
    when font is not loaded.

LayoutTests: fast/frames/seamless/seamless-nested-crash.html asserts on wk2 only
https://bugs.webkit.org/show_bug.cgi?id=123354

Reviewed by Andreas Kling.

* TestExpectations: Remove failure expectation

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/css/CSSFontFaceSource.cpp
Source/WebCore/css/CSSFontSelector.cpp
Source/WebCore/css/CSSFontSelector.h
Source/WebCore/rendering/SimpleLineLayout.cpp