Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
SizesAttributeParser::SizesAttributeParser triggers layout
https://bugs.webkit.org/show_bug.cgi?id=178712 Reviewed by Antti Koivisto. Revert r213711 as this change introduced an unwated synchronous layout inside Node::insertedIntoAncestor. The test had been marked as timing out since r191379 and changed to failing expectation in r199225 as the test result's error message changes from run to run. Disabled Tests: imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html had been marked failing since r199225, prior to which it was marked as timeout in r191379. imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute.html is now marked as flaky. * css/parser/SizesAttributeParser.cpp: (WebCore::SizesAttributeParser::SizesAttributeParser): Canonical link: https://commits.webkit.org/194891@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
21 additions
and 4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -73,10 +73,6 @@ SizesAttributeParser::SizesAttributeParser(const String& attribute, const Docume | ||
, m_length(0) | ||
, m_lengthWasSet(false) | ||
{ | ||
m_isValid = parse(CSSTokenizer(attribute).tokenRange()); | ||
} | ||
|
||