Issue metadata
Sign in to add a comment
|
Missing default for border-style
Reported by
nachtwer...@gmail.com,
Jun 15 2016
|
||||||||||||||||||||||||
Issue description
Chrome Version : 51.0.2704.84 m (64-bit)
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
Safari: OK
Firefox: n/a
IE: n/a
What steps will reproduce the problem?
(1) Create element with a correct border-image
(2) Checked with border-style unset, no border-image on left/right side of el
(3) Checked with border-style explicitly set, border-image renders correctly
What is the expected result?
Before version 51, Chrome would default it's border style to solid(assumption). When creating an element with a border-image (image was meant to display in a breadcrumb navigation section) it would correctly display a image.
What happens instead?
Since v51, it appears that the default border-style is unset or different from v50. Setting it manually for the specific el to "solid" fixed the rendering.
Please provide any additional information below. Attach a screenshot if
possible.
Attached is the rendering issue in our use-case. Image correct-50.png is the rendering as seen in chrome 50, wrong-51.png is the rendering as seen in chrome 51.
,
Jun 16 2016
I've added a sample HTML file. This is a sort stripped from our builded/compiled code. We have been able to remedy this like I have done on line 14(commented out). If border-style is omitted, Chrome 51 will not properly render the border image, when the border-style is present, the border will be shown.
,
Jun 16 2016
Thank you for providing more feedback. Adding requester "tkonchada@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 1 2016
Able to reproduce this on the latest canary(53.0.2784.1), beta(52.0.2743.60), stable(51.0.2704.106) on Windows-7, Mac OS 10.11.5 and Linux Ubuntu 14.04. This is a regression issue broken in M-51. Last good build: 51.0.2685.0 First bad build: 51.0.2686.0 Changelog: =========== https://chromium.googlesource.com/chromium/src/+log/93f505fb7bdf5542ce40f8c14c987e7f31a97002..c52e1b4e0b1d9692a192f2a2d2594919849bc510 Suspected change: https://codereview.chromium.org/1815043003 cavalcantii@: Could you please take a look at this and confirm if this is WAI as per the spec.
,
Jul 1 2016
Dear nachtwerk Thanks a lot for the report. First, yes, you are right, unless you define the border-style property the decorated border won't be displayed at all. That being said, that is the behavior expected in the spec (i.e. unless the border is defined, it should not be displayed). It is also the behavior you will find in other browsers (FF, IE). I also learned that this has being fixed on an upcoming MS Edge release. This quirky was fixed in Blink (https://chromium.googlesource.com/chromium/src/+/db8a8b23bfce3adeb9566da47cd724899d8d5b32) and you read more about the rationale at: https://lists.w3.org/Archives/Public/www-style/2015Dec/0080.html Looking at the bright side: by defining the border-style in your content, it will make it also work on FF. Best regards Adenilson
,
Jul 1 2016
Updating the bug status.
,
Jul 1 2016
,
Jul 7 2016
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by tkonch...@chromium.org
, Jun 16 2016Labels: Needs-Feedback