Bug 200445 - overflow="visible" has no effect on the dimension of a <use> element unless its dimensions are specifed
Summary: overflow="visible" has no effect on the dimension of a <use> element unless i...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 200143
  Show dependency treegraph
 
Reported: 2019-08-05 13:16 PDT by Said Abou-Hallawa
Modified: 2019-08-05 13:17 PDT (History)
1 user (show)

See Also:


Attachments
test case (515 bytes, image/svg+xml)
2019-08-05 13:16 PDT, Said Abou-Hallawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2019-08-05 13:16:28 PDT
Created attachment 375547 [details]
test case

Open the attached test case.

Expected: Two 100x100 green rectangles.
Result: The first rectangle is 100x100 green rectangle. The second rectangle is not fully green.

The first rectangle is defined as:

   <use href="#s" width="100" height="100"/>

While the second rectangle is defined as:

   <use href="#s"/>

The bug is the dimension of the second <use> element is not specified so it should take the dimension of the symbol. And it should be visible because the container <svg> is defined as:

   <svg x = "120" width="50" height="50" overflow="visible">