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

Shady dom css shifts #919

Merged
merged 9 commits into from
Jan 27, 2022
Merged

Shady dom css shifts #919

merged 9 commits into from
Jan 27, 2022

Conversation

iisa
Copy link
Contributor

@iisa iisa commented Jan 26, 2022

@codecov
Copy link

codecov bot commented Jan 26, 2022

Codecov Report

Merging #919 (e9ee70a) into master (1319c2e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #919   +/-   ##
=======================================
  Coverage   69.30%   69.30%           
=======================================
  Files          58       58           
  Lines        5151     5151           
  Branches      846      846           
=======================================
  Hits         3570     3570           
  Misses       1569     1569           
  Partials       12       12           
Impacted Files Coverage Δ
src/BookNavigator/book-navigator.js 82.53% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1319c2e...e9ee70a. Read the comment docs.

@cdrini
Copy link
Contributor

cdrini commented Jan 26, 2022

#477 Strikes again!

Copy link
Contributor

@cdrini cdrini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Fullscreen/normal working in FF, Chrome @ Win10
  • Still getting black screen of doom on Safari 9 :/
  • Safari 11 is showing the book, but missing the vertical toolbar; also on master branch
    • The error is ReferenceError: Can't find variable: globalThis ; what's that polyfill file we need to add for lit 2? We should add it to the demo html
  • The sidebar now overlaps the view; the book isn't resizing 😬
    image

@@ -105,7 +105,7 @@ export class IaBookReader extends LitElement {

render() {
return html`
<div class="ia-bookreader">
<div class="main-component">
Copy link
Contributor

@cdrini cdrini Jan 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gaah, webcomponents/polyfills#477 ! Let's give this a tighter class name to avoid hitting other things; I started doing *_root; e.g. ia-bookreader__root so that it can't possibly in any way break/collide 😅

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL about polyfills class naming

@iisa iisa changed the title Shady dom css shifts Draft: Shady dom css shifts Jan 26, 2022
@iisa
Copy link
Contributor Author

iisa commented Jan 26, 2022

thanks for the quick look @cdrini - i've set as draft as i tinker further. and thanks for the polyfill check. will add.

@iisa iisa changed the title Draft: Shady dom css shifts Shady dom css shifts Jan 26, 2022
@iisa iisa merged commit f4d3e15 into master Jan 27, 2022
@iisa iisa deleted the shady-dom-css-shifts branch January 27, 2022 01:13
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.

3 participants