| 1 | # Partial black highlighting is missing from native XML |
| 2 | |
| 3 | OneNote 14.0.4763.1000 displays black highlighting on the word `middle` in |
| 4 | `Before middle after`. The application stores `Highlight = 0x00000000` on that |
| 5 | text run. `GetPageContent(piAll, xs2010)` omits the highlight from the returned |
| 6 | HTML. Whole-paragraph black highlighting is returned correctly in the same page. |
| 7 | |
| 8 | The authored input is [inputs/format-probes.xml](inputs/format-probes.xml). |
| 9 | The stored file is [notebook/synthetic.one](notebook/synthetic.one); the native |
| 10 | XML and screenshot are [read/page-001.xml](read/page-001.xml) and |
| 11 | [read/page-001.png](read/page-001.png). The screenshot shows the black rectangle |
| 12 | between `Before` and `after`. Text, run boundaries, and other formatting agree. |
| 13 | |
| 14 | This is an XML-oracle limitation. A reader must retain and render the black |
| 15 | highlight. It must not remove the highlight to match the XML. Four partial-black |
| 16 | runs in the copied personal notebook exhibit the same XML omission, including |
| 17 | on a fresh cache. Their visual checks belong to the personal report acceptance. |
| 18 | |
| 19 | Reproduce with the current scripts: |
| 20 | |
| 21 | ```sh |
| 22 | python3 tools/native_runner.py corpus/writer/create-notebook-01/notebook NEW_OUTPUT \ |
| 23 | --author tools/native/features.ps1 --expected-pages 2 --screenshots |
| 24 | ``` |
| 25 | |
| 26 | This capture's exact author/read/cache scripts are retained in `scripts/` and |
| 27 | hashed in `run.json`. The clone's successful deletion is in `teardown.json`. |