Summary: | getPropertyValue for url path doesn't return the "#" character | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Thien <dvkndn> | ||||||||
Component: | New Bugs | Assignee: | Rob Buis <rbuis> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | darin, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, koivisto, macpherson, menard, rbuis, sabouhallawa, sam, webkit-bug-importer, youennf | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | Safari 13 | ||||||||||
Hardware: | Mac | ||||||||||
OS: | macOS 10.15 | ||||||||||
Attachments: |
|
Description
Thien
2020-08-12 03:59:09 PDT
Created attachment 427495 [details]
Patch
Created attachment 427523 [details]
Patch
Committed r276888 (237234@main): <https://commits.webkit.org/237234@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427523 [details]. Comment on attachment 427523 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427523&action=review > Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp:125 > + return CSSPrimitiveValue::create(makeString('#', svgStyle.maskerResource()), CSSUnitType::CSS_URI); More efficient because it uses '#'. > Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp:139 > + return CSSPrimitiveValue::create(makeString("#", svgStyle.markerEndResource()), CSSUnitType::CSS_URI); Slightly less efficient because it uses "#". Should be consistent. Reopening to attach new patch. Created attachment 427542 [details]
Patch
Comment on attachment 427523 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427523&action=review >> Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp:125 >> + return CSSPrimitiveValue::create(makeString('#', svgStyle.maskerResource()), CSSUnitType::CSS_URI); > > More efficient because it uses '#'. I see. >> Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp:139 >> + return CSSPrimitiveValue::create(makeString("#", svgStyle.markerEndResource()), CSSUnitType::CSS_URI); > > Slightly less efficient because it uses "#". Should be consistent. I intended to at least be consistent but failed there, so I made a fix-up patch. Committed r276894 (237240@main): <https://commits.webkit.org/237240@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427542 [details]. |