WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
173079
Add a borderless mode to <attachment>, and make it respect its layout size
https://bugs.webkit.org/show_bug.cgi?id=173079
Summary
Add a borderless mode to <attachment>, and make it respect its layout size
Tim Horton
Reported
2017-06-07 15:50:23 PDT
Add a borderless mode to <attachment>, and make it respect its layout size
Attachments
Patch
(11.04 KB, patch)
2017-06-07 15:50 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2017-06-07 15:50:43 PDT
Created
attachment 312246
[details]
Patch
Simon Fraser (smfr)
Comment 2
2017-06-07 17:13:51 PDT
Comment on
attachment 312246
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=312246&action=review
> Source/WebCore/rendering/RenderAttachment.cpp:77 > + if (style().appearance() == BorderlessAttachmentPart) > + return false; > + return m_shouldDrawBorder;
Can m_shouldDrawBorder just be set to false for this type of attachment?
Tim Horton
Comment 3
2017-06-08 10:37:15 PDT
Comment on
attachment 312246
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=312246&action=review
>> Source/WebCore/rendering/RenderAttachment.cpp:77 >> + return m_shouldDrawBorder; > > Can m_shouldDrawBorder just be set to false for this type of attachment?
Currently DragController just smacks shouldDrawBorder with its own true/false (could be made a SetForScope). Also, I'm not totally sure where to do that (where to know when style is done resolving each time, in order to update this)? Thoughts?
WebKit Commit Bot
Comment 4
2017-06-08 11:08:52 PDT
Comment on
attachment 312246
[details]
Patch Clearing flags on attachment: 312246 Committed
r217937
: <
http://trac.webkit.org/changeset/217937
>
WebKit Commit Bot
Comment 5
2017-06-08 11:08:54 PDT
All reviewed patches have been landed. Closing bug.
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