Bug 84557 - RenderDetailsMarker should draw the triangle inside the content box
Summary: RenderDetailsMarker should draw the triangle inside the content box
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kent Tamura
URL: data:text/html,<style>body { zoom: 2;...
Keywords:
Depends on:
Blocks: 84677
  Show dependency treegraph
 
Reported: 2012-04-22 19:27 PDT by Kent Tamura
Modified: 2012-04-24 00:56 PDT (History)
3 users (show)

See Also:


Attachments
Patch (24.84 KB, patch)
2012-04-22 20:44 PDT, Kent Tamura
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Tamura 2012-04-22 19:27:27 PDT
How to reproduce the problem:
 1. Open the URL: data:text/html,<style>body { zoom: 2; } ::-webkit-details-marker { border: 4px solid lime; }</style><details><summary>See detail</summary></details>
 2. See the triangle

Expected:
 The triangle is drawn inside the green border.

Actual:
 The triangle is drawn on the green border.
Comment 1 Kent Tamura 2012-04-22 20:44:41 PDT
Created attachment 138287 [details]
Patch
Comment 2 Hajime Morrita 2012-04-23 10:02:19 PDT
Comment on attachment 138287 [details]
Patch

I hope we could get rid of RenderDetailsMarker  by using SVG in shadow DOM. But it's a different story...
Comment 3 WebKit Review Bot 2012-04-23 17:57:49 PDT
Comment on attachment 138287 [details]
Patch

Clearing flags on attachment: 138287

Committed r114973: <http://trac.webkit.org/changeset/114973>
Comment 4 WebKit Review Bot 2012-04-23 17:57:56 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Kent Tamura 2012-04-23 20:04:13 PDT
(In reply to comment #2)
> I hope we could get rid of RenderDetailsMarker  by using SVG in shadow DOM. But it's a different story...

SVG dependency from HTML sounds not good.