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

add support for CSSFontFaceRule #3710

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jantimon
Copy link

@jantimon jantimon commented May 6, 2024

This code is 9 years old but it looks like CSSFontFaceRule existed already 11 years ago.

I am not sure why it was explicitly disabled.

https://github.com/rrweb-io/CSSOM/blame/master/lib/CSSFontFaceRule.js#L13

CSSOM Font Face Blame

@jantimon
Copy link
Author

jantimon commented May 6, 2024

fixes #3361

@domenic
Copy link
Member

domenic commented May 26, 2024

I'm hesitant to expose this without test coverage.

I tried to run the tests in css/cssom against this:

  • cssom-fontfacerule-constructors.html
  • cssom-fontfacerule.html

and got failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants