WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
145783
Support transform-box to switch sizing box in SVG
https://bugs.webkit.org/show_bug.cgi?id=145783
Summary
Support transform-box to switch sizing box in SVG
Dirk Schulze
Reported
2015-06-08 21:54:28 PDT
transform-box was added to CSS Transforms to allow the user to switch between the objectBoundingBox and the SVG viewport for computing the transform origin and the reference dimension for transforms with percentage.
http://dev.w3.org/csswg/css-transforms/#transform-box
Attachments
Patch
(35.91 KB, patch)
2017-05-20 15:06 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Patch
(37.47 KB, patch)
2017-05-20 21:21 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Fredrik Söderquist
Comment 1
2017-03-28 07:33:32 PDT
Gecko is set to ship this in version 55, and an implementation will land in Blink shortly. It'd be good to have some feedback from WebKit, especially wrt
https://github.com/w3c/csswg-drafts/issues/857
.
Simon Fraser (smfr)
Comment 2
2017-05-05 11:06:30 PDT
***
Bug 171023
has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 3
2017-05-16 23:01:41 PDT
Following
https://github.com/w3c/csswg-drafts/issues/928
, implementing transform-box will be a behavior change. Percentage values in transform-origin and transforms will no longer resolve against the fill-box by default, but instead use view-box.
Simon Fraser (smfr)
Comment 4
2017-05-20 15:06:58 PDT
Created
attachment 310781
[details]
Patch
Simon Fraser (smfr)
Comment 5
2017-05-20 21:21:49 PDT
Created
attachment 310790
[details]
Patch
Dean Jackson
Comment 6
2017-05-22 11:51:02 PDT
Comment on
attachment 310790
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=310790&action=review
> Source/WebCore/css/CSSProperties.json:5963 > + "codegen-properties": { > + },
Remove?
> Source/WebCore/rendering/style/RenderStyle.cpp:1134 > + FloatPoint3D originTranslate;
originTranslation? You're nouning a verb :)
WebKit Commit Bot
Comment 7
2017-05-22 12:19:28 PDT
Comment on
attachment 310790
[details]
Patch Clearing flags on attachment: 310790 Committed
r217236
: <
http://trac.webkit.org/changeset/217236
>
WebKit Commit Bot
Comment 8
2017-05-22 12:19:30 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9
2017-05-22 12:39:05 PDT
<
rdar://problem/32332230
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug