Skip to content

Standalone decorator#228

Open
JayPanoz wants to merge 32 commits into
developfrom
standalone-decorator
Open

Standalone decorator#228
JayPanoz wants to merge 32 commits into
developfrom
standalone-decorator

Conversation

@JayPanoz

@JayPanoz JayPanoz commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

We need Decorators in Readium Speech as standalone (on any webpage), which is not necessarily trivial given our Decorator module was designed with iframe in mind. Especially as we will also use Readium Speech in the context of Navigator…

This should be considered an exploratory PR whose code may dramatically change in the near feature.

JayPanoz added 30 commits April 28, 2026 08:54
- Observe Readium CSS changes
- Handle font loading
- Handle Chrome Zoom discrepancy in rects/positioning
TMP. will deal with this in new build.
- Use shadow DOM to isolate from Readium CSS
- check and adjust contrast for all types
- defaults specific to type
So that it can be easier to create highlights in FXL
Otherwise it is overflowing and clipped
Achievable through mask + Layout/Width options
So that it does not create types in other packages
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