| Summary: | transform-origin should not accept 4 lengths | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Willigers <ericwilligers> | ||||||
| Component: | CSS | Assignee: | Joonghun Park <jh718.park> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | darin, dino, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, jh718.park, koivisto, macpherson, menard, simon.fraser, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | FromImplementor, InRadar | ||||||
| Version: | Safari 11 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Eric Willigers
2018-06-23 03:21:42 PDT
Created attachment 438040 [details]
Patch
Comment on attachment 438040 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=438040&action=review > Source/WebCore/css/parser/CSSPropertyParser.cpp:6139 > + return consumeTransformOrigin(important) && m_range.atEnd(); I think the range.atEnd() check should move inside consumeTransformOrigin(). (In reply to Simon Fraser (smfr) from comment #2) > Comment on attachment 438040 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=438040&action=review > > > Source/WebCore/css/parser/CSSPropertyParser.cpp:6139 > > + return consumeTransformOrigin(important) && m_range.atEnd(); > > I think the range.atEnd() check should move inside consumeTransformOrigin(). Ok, I will move the range.atEnd() into consumeTransformOrigin(). Created attachment 438045 [details]
Move range.atEnd() into consumeTransformOrigin()
Committed r282359 (241622@main): <https://commits.webkit.org/241622@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438045 [details]. |