Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Adding a rule to fix border-image #13

Open
karlcow opened this issue Nov 17, 2015 · 5 comments
Open

Adding a rule to fix border-image #13

karlcow opened this issue Nov 17, 2015 · 5 comments

Comments

@karlcow
Copy link
Member

karlcow commented Nov 17, 2015

See bug https://bugzilla.mozilla.org/show_bug.cgi?id=995140 for context.

.foo {
    -webkit-border-image: url() 4 2 5 4;
}

convert to

.foo {
    -webkit-border-image: url() 4 2 5 4;
        border-image: url() fill 4 2 5 4;
        border-style: solid;
}
@karlcow
Copy link
Member Author

karlcow commented Nov 18, 2015

Currently the service css fix me does:

.foo{
    -webkit-border-image: url() 4 2 5 4;
    border-image: url() 4 2 5 4;
    border-style: solid;
}

@karlcow
Copy link
Member Author

karlcow commented Nov 18, 2015

I wonder if we would be breaking something else by doing that.

@miketaylr
Copy link
Member

I've opened whatwg/compat#17 to explore how to spec this.

@hallvors
Copy link
Collaborator

@karlcow see https://github.com/webcompat/css-fixme/blob/master/js/css-fixme.js#L283 where there is some extra border-image processing. It needs to add "fill" keyword?

@karlcow
Copy link
Member Author

karlcow commented Jun 15, 2016

yes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants