Comments (5)
Unless I'm being stupid, the following should match (top-left):
<svg width="200" height="100"
xmlns="http://www.w3.org/2000/svg">
<path d="M25,0 a25,25 0 0,0 -25,25 V100 H200 V0 z"
fill="#dddddd" stroke="#a1a1a1" stroke-width="2" />
</svg>
from csswg-test.
Oh, using SVGs for refs for border-radius falls into the trap of SVG strokes being centred on the edge of the path and CSS borders being outside the path, which also makes drawing the border arc impossible, given in CSS the arc radii are those on the outside edge of the border.
Any ideas, @tabatkins?
from csswg-test.
I mean I guess we can test it if we have fill/stroke & background/border the same colour, but that isn't great. Maybe the best we can do with references, though?
from csswg-test.
The simple case is to make the stroke double-width, and then put the same path on top of it with an opaque fill and no stroke. I think that'll give the same geometry as a border stroke outside of the box.
from csswg-test.
This issue has been moved to web-platform-tests/wpt#5492; please continue all discussion there.
from csswg-test.
Related Issues (20)
- Split Link header over two lines for cascade-import-002 HOT 1
- matchMedia.html uses assert_inherits to test a global property HOT 3
- Move `display:run-in` tests out of CSS2.1 tests? HOT 5
- content-inherit-002 test is wrong? HOT 3
- Some tests are missing in xhtml1/reftest-toc.xht HOT 2
- Travis CI is broken again HOT 5
- Add tests for `new DOMMatrix('none')` HOT 1
- Writing Mode Reftests Anti-Aliasing Failures HOT 8
- Test suite build breaks a caret-color test HOT 10
- [css-ui-3][svg] Is SVGZ support actually mandatory? HOT 3
- Build process misses support files for css-values-3_dev/html/vh_not_refreshing_on_chrome.htm HOT 1
- css-values-3_dev/html/vh_not_refreshing_on_chrome.htm has multiple problems HOT 1
- Multicol tests linking to themselves as references HOT 3
- Test suite build broken HOT 3
- File merge mismatch between css-shapes-1 vs vendor-imports/mozilla/mozilla-central-reftests/shapes1 HOT 9
- Top level support directory — gratuitous? HOT 1
- clip-path-square-001-ref.svg and clip-path-square-002-ref.svg get lost by the build system HOT 1
- Check for wide Python build in build-css-testsuites.sh HOT 1
- Directories whose name are not shortnames HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csswg-test.