Abstract

Qutebrowser uses the QtWebEngine framework, which is a wrapper around the Chromium Blink rendering engine. Therefore, to find the rendering engine code for Qutebrowser, you would need to explore the QtWebEngine repository. Here’s where you can find it:

Repository: QtWebEngine on GitHub

Inside the QtWebEngine repository, you’ll find the code related to the Chromium Blink rendering engine, as well as the integration code that allows Qt-based applications like Qutebrowser to use this rendering engine.

Keep in mind that understanding and modifying the rendering engine code can be quite complex and may require a deep understanding of C++ programming, web technologies, and the Chromium codebase. If your goal is to make changes or modifications to the rendering engine itself, you should refer to the QtWebEngine documentation and guidelines provided by the Qt project and the Chromium project. Additionally, it’s important to stay up-to-date with the latest developments and coding standards in the QtWebEngine and Chromium communities.

Finding the specific code related to CSS borders in the Blink rendering engine (which is used by QtWebEngine in Qutebrowser) can be quite an involved task due to the size and complexity of the codebase. However, I can provide a general guideline on how to explore the code:

For Blink in Chromium:

  1. Blink Codebase: The code for Blink is part of the Chromium project. You can start by visiting the Chromium source code repository on GitHub: Chromium on GitHub.

  2. CSS Folder: Inside the Chromium repository, navigate to the “third_party/blink/renderer/core/css” directory. This directory contains many of the CSS-related source files.

  3. CSS Border: To find code specifically related to CSS borders, look for files or directories with names related to “border” or “box model.” Files like “BorderData.,” “Box.,” or “StyleResolver.*” may contain relevant code.

  4. Use Code Search: You can also use the code search functionality on GitHub or tools like grep to search for specific CSS properties and their implementations within the Blink codebase.

For QtWebEngine in Qutebrowser:

  1. QtWebEngine Repository: Visit the QtWebEngine repository on GitHub: QtWebEngine on GitHub.

  2. Chromium Blink: The QtWebEngine codebase integrates the Chromium Blink rendering engine. The Blink code, including code related to CSS, can be found within QtWebEngine’s source code.

  3. Search in QtWebEngine: Within the QtWebEngine repository, you can use search tools to look for specific CSS-related code. Look for files and directories related to “CSS,” “style,” or “layout.”

Remember that understanding and navigating large codebases like Blink or QtWebEngine can be challenging. You’ll need to have a strong background in programming, web technologies, and a familiarity with the specific code organization of these projects. Additionally, you may want to explore the documentation provided by Blink and QtWebEngine to gain more insights into their code structure and how they handle CSS properties like borders.