🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@Samuel-IH
Copy link

@Samuel-IH Samuel-IH commented Sep 17, 2020

Hello, I have taken a recent interest in this project and have written a PR for issue #42
The idea of HTMLStylePatching node is to serve as a "container" to hold style patches, whenever we call the .patch function it will automatically hook into an existing patching node, or create a new one if it doesn't already exist.

The sample code presented in #42 works properly now, however, I am still having minor issues chaining multiple shadows on the same view (CSS shadow blending issues).

Lastly, I would like to note that my implementation in BackgroundModifier.swift isn't as clean as I wish (I had to copy the style switch from the HTML node). Perhaps there is a better way to do this.

SwiftWebUI#42
(cherry picked from commit 777e1bb)
…TMLStylePatchingNode`

Now what do we do with HTMLShadowNode and HTMLBackgroundNode?

(cherry picked from commit 91e34b6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant