aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/shadowroot.rs
Commit message (Collapse)AuthorAgeFilesLines
* clippy: Fix many warnings in `components/script` (#31717)Richard Dushime2024-03-191-9/+4
| | | | | | | | | | | | | | | | | * Fix Several clippy warnings * Fix Build errors * Fix Unused import * Fix requested changes * Fix rustfmt * Minor fixes --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* rustdoc: Fix many rustdoc errors (#31147)Martin Robinson2024-01-221-2/+2
| | | | This fixes many rustdoc errors that occur due to raw URLs in rustdoc comments as well as unescaped Rust code that should be in backticks.
* Replace script_plugins with a clippy like rustc driver (named crown) (#30508)Samson2023-12-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove script_plugins * Use crown instead of script_plugins * crown_is_not_used * Use crown in command base * bootstrap crown * tidy happy * disable sccache * Bring crown in tree * Install crown from tree * fix windows ci * fix warning * fix mac libscript_plugins.dylib is not available anymore * Update components/script/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> * Update for nightly-2023-03-18 Mostly just based off https://github.com/servo/servo/pull/30630 * Always install crown it's slow only when there is new version * Run crown test with `mach test-unit` * Small fixups; better trace_in_no_trace tests * Better doc * crown in config.toml * Fix tidy for real * no sccache on rustc_wrapper * document rustc overrides * fixup of compiletest * Make a few minor comment adjustments * Fix a typo in python/servo/platform/base.py Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com> * Proper test types * Ignore tidy on crown/tests --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Use Foo_Binding instead of FooBinding for namespace modules (#30447)Samson2023-09-301-1/+1
| | | | | * Update Codegen.py to emit Foo_Binding instead of FooBinding * s/FooBinding/Foo_Binding/g
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-8/+9
| | | | | * strict imports formatting * Reformat all imports
* Use mozjs tracing infrastructure (#29918)Samson2023-08-101-0/+1
| | | | | | | * Update mozjs https://github.com/servo/mozjs/commit/64711ec2e6dc4595df691bffc7f1e5052ab86c8d also fixes https://github.com/servo/servo/issues/30043 * Move to mozjs Traceable and introduce CustomTraceable
* Further changes required by ServoOriol Brufau2023-05-161-8/+4
|
* Make DomRefCell not mutate the borrow flag non-atomicallyAnthony Ramine2020-05-181-1/+1
|
* Add some comments and remove obsolete allow attributesAnthony Ramine2020-04-011-0/+2
|
* Make LayoutShadowRootHelpers::get_style_data_for_layout return a &CascadeDataAnthony Ramine2020-04-011-3/+6
| | | | That return type is Sync, which thus means that the method can be safe.
* Make LayoutShadowRootHelpers::get_host_for_layout be safeAnthony Ramine2020-03-311-6/+8
|
* Make LayoutShadowRootHelpers methods take selfAnthony Ramine2020-03-301-4/+4
|
* Clean up LayoutShadowRootHelpers::get_style_data_for_layoutAnthony Ramine2020-03-301-6/+2
| | | | Parameter E is unused and the result should be bound by 'dom.
* Give a lifetime parameter to LayoutDomAnthony Ramine2020-03-281-4/+4
|
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-2/+1
|
* Doc named getter improvementsPatrick Shaughnessy2020-02-131-2/+2
|
* Moar detach shadow improvementsFernando Jiménez Moreno2019-07-221-22/+9
|
* More detach shadow changesFernando Jiménez Moreno2019-07-221-3/+16
|
* Detach shadow clean upFernando Jiménez Moreno2019-07-221-9/+21
|
* Remove unused ShadowRoot constructor argumentFernando Jiménez Moreno2019-07-221-11/+3
|
* Only allow UA widgets as children of media elementsFernando Jiménez Moreno2019-07-221-7/+0
| | | | Do not allow pseudo-elements for replaced elements
* Media UI basic functionalityFernando Jiménez Moreno2019-07-221-2/+10
|
* Barebones media UIFernando Jiménez Moreno2019-07-221-3/+17
|
* Move StylesheetSetRef to scriptFernando Jiménez Moreno2019-04-261-1/+1
|
* Rename StylesheetSet to StylesheetSetRefFernando Jiménez Moreno2019-04-261-3/+3
|
* Merge Node::shadow_including_inclusive_ancestors into inclusive_ancestorsFernando Jiménez Moreno2019-04-261-2/+6
|
* Register named elements in either the document or shadow treeFernando Jiménez Moreno2019-04-261-0/+22
|
* Document owner_shadow_rootFernando Jiménez Moreno2019-04-261-4/+3
|
* Make StyleSheetListOwner an enum instead of a trait objectFernando Jiménez Moreno2019-04-261-52/+50
|
* Make StylesheetSet an enum instead of a trait objectFernando Jiménez Moreno2019-04-261-4/+5
|
* Add invalidate_stylesheets to StyleSheetsListOwner traitFernando Jiménez Moreno2019-04-261-0/+4
|
* Flush shadow roots stylesheets only if they changedFernando Jiménez Moreno2019-04-261-0/+1
|
* Fix the way the IS_CONNECTED flag is setFernando Jiménez Moreno2019-04-261-0/+4
|
* Fix formatting issuesFernando Jiménez Moreno2019-04-261-8/+7
|
* Retarget result of shadowRoot.element(s)FromPointFernando Jiménez Moreno2019-04-261-7/+25
|
* Invalidate and flush shadow tree stylesheets where neededFernando Jiménez Moreno2019-04-261-5/+26
|
* Expose a way to flush shadow root stylesheets from layoutFernando Jiménez Moreno2019-04-261-6/+10
|
* Implement TShadowRoot::style_dataFernando Jiménez Moreno2019-04-261-2/+19
|
* Remove stylesheets ownership from DocumentOrShadowRootFernando Jiménez Moreno2019-04-261-6/+25
|
* ShadowRoot stylesheet listFernando Jiménez Moreno2019-04-261-1/+26
|
* Move stylesheets related code to DocumentOrShadowRootFernando Jiménez Moreno2019-04-261-20/+16
|
* First bits of shadow dom layoutFernando Jiménez Moreno2019-04-261-1/+14
|
* Always get browsing context from documentFernando Jiménez Moreno2019-04-261-9/+15
|
* Implement shadow-including root, set node as in doc when connected. Makes JS ↵Fernando Jiménez Moreno2019-04-261-1/+8
| | | | work in shadow trees
* Unify DocumentOrShadowRoot implementationFernando Jiménez Moreno2019-04-261-23/+37
|
* Element attachShadow implementationFernando Jiménez Moreno2019-04-261-3/+11
|
* Partial ShadowRoot implementation of DocumentOrShadowRootFernando Jiménez Moreno2019-04-261-2/+50
|
* ShadowRoot interfaceFernando Jiménez Moreno2019-04-261-0/+40