question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incorrect rules order

See original GitHub issue

For example,

div {
    background: linear-gradient(to right, #c8c8c8 15.5%, transparent 15.5%) repeat-x;
    background-size: 4.16667% 4px
}

transforms to

[dir] span {
    background-size: 4.16667% 4px
} 

[dir=ltr] span {
    background: linear-gradient(to right, #c8c8c8 15.5%, transparent 15.5%) repeat-x
} 

[dir=rtl] span {
    background: linear-gradient(to left, #c8c8c8 15.5%, transparent 15.5%) repeat-x
}

So, background property overrides background-size value.

Bug is similar to the csso problem with structural optimizations https://github.com/css/csso/issues/143

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
vkalinichevcommented, Mar 13, 2017

I’ll try to fix it in the next release.

For now you can use this workaround:

div {
    background: linear-gradient(to right, #c8c8c8 15.5%, transparent 15.5%) repeat-x;
}
[dir] div {
    background-size: 4.16667% 4px
}

Thanks for the report!

1reaction
marsjosephinecommented, May 7, 2021

@fabercancio – totally understand, thanks for responding!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Minor mistakes in Robert's Rules don't invalidate action
Robert's Rules says that the correct way to object is to raise a Point of Order at the time of the mistake. If...
Read more >
Batting Out of Order - UmpireBible
Important: Batting out of order is an appeal play. You should never point out an improper batter on your own initiative, nor should...
Read more >
Survival Tips on Robert's Rules of Order - Totally Wrong Phrases
According to Robert's Rules of Order, this motion is in order only as a temporary interruption of the agenda, so as to allow...
Read more >
Rule 60. Relief from a Judgment or Order - Law.Cornell.Edu
Relief from a Judgment or Order. (a) Corrections Based on Clerical Mistakes; Oversights and Omissions. The court may correct a clerical mistake or...
Read more >
How to Correct a Mistake in Minutes Using Robert's Rules of ...
Under "Robert's Rules of Order", you correct errors in board-meeting minutes by amending the minutes before approval.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found