WebAssembly / WebAssembly/spec

[spec] MathJax and search / c&p on page

Open
#1,515 7 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
3.5k
Forks
539
Avg merge
2d 1h
Merged PRs (30d)
13

Description

For example, try searching for the text 0x00 on the page https://webassembly.github.io/spec/core/binary/instructions.html. In Safari, that string is "Not found" -- in Chrome, there are seven results, but the correct result is never indicated using the normal selection highlight, and the browser doesn't even scroll to the right point for all the results. Attempting to select the text 0x00 doesn't work at all in Chrome. In Safari, attempting to select text does something difficult for me to describe other than that it's "slightly cursed".

Anyone working directly with WebAssembly will be paging through these documents constantly, so it would be helpful for them to support basic browser text operations. Or, at least, I've personally been annoyed by these issues enough to file this issue, and I'm sure I'm not the only one!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the search and selection problems for “0x00” on https://webassembly.github.io/spec/core/binary/instructions.html in Safari and Chrome. Investigate how this specification page is generated and rendered; done means browser find, scrolling, selection, and copy operations work normally in both browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.