-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
chore: rewrite set_style() to handle directives #15418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 11 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
ebc286e
add style attribute when needed
adiguba 4a3561b
set_style()
adiguba 555f11c
to_style()
adiguba 526a2b8
remove `style=""`
adiguba 7a4886e
use cssTest for perfs
adiguba 6af6978
base test
adiguba 7804a1f
test
adiguba fce4169
changeset
adiguba 84b1d7f
revert dom.style.cssText
adiguba d43d14a
format name
adiguba 6895d88
use style.cssText + adapt test
adiguba ca07d89
Apply suggestions from code review
adiguba 962e8bb
fix priority
adiguba c960c3f
Merge branch 'dev/style' of https://github.com/adiguba/svelte into de…
adiguba c3e9c39
lint
adiguba ae8975b
Merge branch 'main' into dev/style
Rich-Harris 6a66c28
merge main
Rich-Harris 3deff5b
yawn
Rich-Harris 8c619af
update test
Rich-Harris e55db6c
we can simplify some stuff now
Rich-Harris 5398e15
simplify
Rich-Harris 8057475
more
Rich-Harris af918b2
simplify some more
Rich-Harris 542363c
more
Rich-Harris 1aa17c5
more
Rich-Harris 2cc4c1a
more
Rich-Harris b079256
more
Rich-Harris 2115c8c
more
Rich-Harris db72611
remove continue
Rich-Harris abbe46f
tweak
Rich-Harris 84d7d74
tweak
Rich-Harris 35c5003
tweak
Rich-Harris 2bf0a22
skip hash argument where possible
Rich-Harris a7a17b6
tweak
Rich-Harris c7c1ade
tweak
Rich-Harris 52667cc
tweak
Rich-Harris 4894e3d
tweak
Rich-Harris File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'svelte': patch | ||
--- | ||
|
||
chore: rewrite set_style() to handle directives | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.