New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 620301 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 619833
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression

Blocked on:
issue 559258



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.
 
correct-50.png
17.6 KB View Download
wrong-51.png
2.7 KB View Download
Cc: tkonch...@chromium.org
Labels: Needs-Feedback
Could you please provide a sample HTML file/test case to reproduce the issue from test team end.
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.
border-style.html
3.2 KB View Download
Project Member

Comment 3 by sheriffbot@chromium.org, Jun 16 2016

Labels: -Needs-Feedback Needs-Review
Owner: tkonch...@chromium.org
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

Comment 4 by ajha@chromium.org, Jul 1 2016

Cc: ajha@chromium.org
Components: Blink>CSS
Labels: -Type-Bug -Pri-3 -Needs-Review M-51 hasbisect OS-Linux OS-Mac OS-Windows Pri-1 Type-Bug-Regression
Owner: cavalcantii@chromium.org
Status: Assigned (was: Unconfirmed)
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.
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
Updating the bug status.
Mergedinto: 619833
Status: Duplicate (was: Assigned)
Blockedon: 559258

Sign in to add a comment