Skip to content

Documentation is broken in Firefox #17585

Closed

Description

@bisubus

I'm submitting a ...


[x] Regression (behavior that used to work and stopped working in a new release)
[ ] Bug report 
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

Documentation is broken in older Firefox versions (41). Some pages aren't rendered. Page styles are wrong, and code snippets aren't formatted.

The error is constantly thrown:

ERROR TypeError: n.innerText is undefined
Stack trace:
.cDNt/xd</t.prototype.addTitleAndToc@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:494067
.cDNt/xd</t.prototype.build@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:493682
.cDNt/xd</<.set@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:493514
un@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:26158
en@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:23505
Zn@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:38532
Bn@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:38065
mr@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:44195
Gn/<@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:231818
rr/<.updateDirectives@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:42128
zn@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:37748
Jn@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:40588
$n@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:39986
zn@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:37883
["/oeL"]/</hs</t.prototype.detectChanges@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:103358
["/oeL"]/</co</e.prototype.tick/<@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:76090
["/oeL"]/</co</e.prototype.tick@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:76051
e/<.next/<@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:73971
.eFQL/</</</l</e.prototype.invoke@https://angular.io/polyfills.631fae0b74bb23493f0e.bundle.js:1:18778
["/oeL"]/</Yi</t.prototype.forkInnerZoneWithAngularBehavior/this.inner<.onInvoke@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:67870
.eFQL/</</</l</e.prototype.invoke@https://angular.io/polyfills.631fae0b74bb23493f0e.bundle.js:1:18705
.eFQL/</</</c</r.prototype.run@https://angular.io/polyfills.631fae0b74bb23493f0e.bundle.js:1:13959
["/oeL"]/</Yi</t.prototype.run@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:66213
e/<.next@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:73948
["/oeL"]/</$i</e.prototype.subscribe/i<@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:64676
["T14+"]/l</e.prototype.__tryOrUnsub@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:138624
["T14+"]/l</e.prototype.next@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:137899
["T14+"]/a</e.prototype._next@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:136933
["T14+"]/a</e.prototype.next@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:136616
.rlar/c</e.prototype.next@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:572405
["/oeL"]/</$i</e.prototype.emit@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:64435
["/oeL"]/</Yi</t.prototype.checkStable@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:67384
["/oeL"]/</Yi</t.prototype.onLeave@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:68314
["/oeL"]/</Yi</t.prototype.forkInnerZoneWithAngularBehavior/this.inner<.onInvokeTask@https://angular.io/main.fb5a3266fe66a1ced8d1.bundle.js:1:67800
.eFQL/</</</l</e.prototype.invokeTask@https://angular.io/polyfills.631fae0b74bb23493f0e.bundle.js:1:19366
.eFQL/</</</c</r.prototype.runTask@https://angular.io/polyfills.631fae0b74bb23493f0e.bundle.js:1:14622
e/this.invoke@https://angular.io/polyfills.631fae0b74bb23493f0e.bundle.js:1:20427

aio

Expected behavior

The page is rendered normally in higher Firefox versions (53).

Minimal reproduction of the problem with instructions

The problem persists on all documentation pages.

Not rendered at all:
https://angular.io/api

Not rendered correctly:
https://angular.io/api/http/Http

What is the motivation / use case for changing the behavior?

The availability of crucially important information on the framework on Angular official website in modern browsers.

Please tell us about your environment

Browser:

  • Chrome (desktop) version XX
  • Chrome (Android) version XX
  • Chrome (iOS) version XX
  • Firefox version 41
  • Safari (desktop) version XX
  • Safari (iOS) version XX
  • IE version XX
  • Edge version XX

Others:

Windows 7 x64

Activity

  1. changed the title [-]Documentation formatting is broken in Firefox[/-] [+]Documentation is broken in Firefox[/+] on Jun 17, 2017
  2. gkalpak commented on Jun 17, 2017

    @gkalpak
    Member

    We are indeed using innerText is a few places, which is not available before Firefox 45. That said, Firefox 41 (or even 44) are 2 years old now, which is quite a lot for an evergreen browser. Even if we fixed the innerText issues, I don't think our dependencies (including Angular itself) supports such old browsers.

  3. bisubus commented on Jun 17, 2017

    @bisubus
    Author

    @gkalpak I understand why the support for stale evergreen browser versions is not a priority, but feature-wise FF 41 is ok when compared to non-evergreen supported browsers. I personally had zero problems with it in Angular 4 application development (not counting the issue with innerText).

    Until the documentation will be available as static SSR pages, I guess it would be a good thing to not force breaking behaviour in older browsers that don't need much efforts to get the support. In this case it probably will be drop-in replacement of innerText with textContent... or probably not.

  4. gkalpak commented on Jun 18, 2017

    @gkalpak
    Member

    @bisubus, can you check if this works on Firefox 41: pr17598-44c1d08

  5. bisubus commented on Jun 18, 2017

    @bisubus
    Author

    @gkalpak Thanks, indeed, it works as expected. It's solved, I guess.

  6. gkalpak commented on Jun 18, 2017

    @gkalpak
    Member

    Thanks for checking. Let's leave this open until #17598 is merged (it will be automatically closed upon merging).

  7. added a commit that references this issue on Jun 19, 2017
    237480e
  8. added 2 commits that reference this issue on Jun 19, 2017
    4f37f86
    62957fa
  9. added a commit that references this issue on Aug 11, 2017
    e3adcc1
  10. added a commit that references this issue on Aug 28, 2017
    7ed2ffd
  11. angular-automatic-lock-bot commented on Sep 11, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  12. locked and limited conversation to collaborators on Sep 11, 2019
  13. added a commit that references this issue on Nov 20, 2026
    a247cd8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions