You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type the following line: <source srcset="example.png" media="(orientation: portrait)">
Expected Behavior
Both "srcset" and "media" should be highlighted as keywords (attribute names).
Actual Behavior
Only "media" is recognized as a keyword:
Debug Information
Notepad++ v8.5.8 (64-bit)
Build time : Oct 15 2023 - 21:43:56
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\Program Files\Notepad++\change.log"
Admin mode : ON
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 21H1
OS Build : 19043.2364
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
Description of the Issue
When writing an HTML file, the keyword "srcset" (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#srcset ) is missing from text completion and colour scheme.
Steps to Reproduce the Issue
<source srcset="example.png" media="(orientation: portrait)">
Expected Behavior
Both "srcset" and "media" should be highlighted as keywords (attribute names).
Actual Behavior
Only "media" is recognized as a keyword:
![image](https://private-user-images.githubusercontent.com/149315426/279095593-f025e982-b0e2-4cb6-b718-a0b5264f6901.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4MjY4MDIsIm5iZiI6MTcxODgyNjUwMiwicGF0aCI6Ii8xNDkzMTU0MjYvMjc5MDk1NTkzLWYwMjVlOTgyLWIwZTItNGNiNi1iNzE4LWEwYjUyNjRmNjkwMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYxOVQxOTQ4MjJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wNjdhODgwNjNiZjkyOWNiNzliNjczY2Y0OWIyNGY1ODZlMDgwNDZlMzk0OTRiODAwZWJiMTRmODdhZTU4Y2FlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.gWR79ok5UuWbH0iGpiNsxZzU0rdcxxEzO5ox4sKvsWs)
Debug Information
Notepad++ v8.5.8 (64-bit)
Build time : Oct 15 2023 - 21:43:56
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\Program Files\Notepad++\change.log"
Admin mode : ON
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 21H1
OS Build : 19043.2364
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
Issue inspired by #12416
The text was updated successfully, but these errors were encountered: