Skip to content
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

feat: add css selector support #11

Merged
merged 530 commits into from
Oct 21, 2022
Merged

feat: add css selector support #11

merged 530 commits into from
Oct 21, 2022

Conversation

devjiangzhou
Copy link
Contributor

@devjiangzhou devjiangzhou commented Aug 4, 2022

  • selector & rule parser
  • match rule for element
  • match unit test
  • example works fine
  • optimize Stylesheet append / remove
  • Force updates while scrolling
  • optimize Document query selector
  • animation spec
  • calc() spec https://github.com/openkraken/kraken/projects/7

TODO(bridge support):

  1. element.style inline style text 内联样式设置 openkraken/kraken#174
  2. document.styleSheets
  3. performance

@devjiangzhou devjiangzhou force-pushed the feat/css_selector branch 2 times, most recently from a31f627 to c8ee10e Compare August 8, 2022 02:57
@yifei8 yifei8 self-requested a review August 8, 2022 08:00
@devjiangzhou devjiangzhou force-pushed the feat/css_selector branch 3 times, most recently from a0f0518 to 9d1eb33 Compare August 14, 2022 14:30
@devjiangzhou devjiangzhou force-pushed the feat/css_selector branch 6 times, most recently from 3cd6a07 to dbe9e59 Compare August 28, 2022 15:12
@devjiangzhou devjiangzhou force-pushed the feat/css_selector branch 2 times, most recently from 76d8f8e to b62b91e Compare August 29, 2022 15:23
webf/lib/src/css/style_sheet.dart Outdated Show resolved Hide resolved
webf/lib/src/css/values/color.dart Show resolved Hide resolved
webf/lib/src/css/variable.dart Outdated Show resolved Hide resolved
webf/lib/src/css/rule_set.dart Outdated Show resolved Hide resolved
webf/lib/src/css/rule_set.dart Show resolved Hide resolved
webf/lib/src/css/rule_set.dart Show resolved Hide resolved
webf/lib/src/css/style_declaration.dart Show resolved Hide resolved
webf/lib/src/css/values/color.dart Outdated Show resolved Hide resolved
webf/lib/src/css/variable.dart Outdated Show resolved Hide resolved
@devjiangzhou devjiangzhou force-pushed the feat/css_selector branch 4 times, most recently from 1133f47 to 1316263 Compare September 3, 2022 07:47
andycall and others added 7 commits September 5, 2022 16:29
# Conflicts:
#	integration_tests/specs/css/css-variables/css-variables.ts
#	webf/lib/src/css/css_rule.dart
#	webf/lib/src/css/element_rule_collector.dart
#	webf/lib/src/css/parser/parser.dart
#	webf/lib/src/css/parser/selector.dart
#	webf/lib/src/css/parser/tree.dart
#	webf/lib/src/css/parser/visitor.dart
#	webf/lib/src/css/rule_set.dart
#	webf/lib/src/css/style_sheet.dart
#	webf/lib/src/css/values/color.dart
#	webf/lib/src/css/variable.dart
#	webf/lib/src/dom/document.dart
#	webf/lib/src/dom/element.dart
#	webf/lib/src/dom/style_node_manager.dart
#	webf/test/src/css/style_rule_parser.dart
#	webf/test/src/css/style_sheet_parser.dart
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.

None yet

6 participants